package cn.hongsw.quartz.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;

import java.util.Date;

/**
 * @author :hongsw
 * @date :2021-08-06 17:16
 */
public class PrintWordsJob implements Job {
    @Override
    public void execute(JobExecutionContext context) {
        System.out.println(new Date());
        System.out.println(context.getJobDetail().getJobDataMap().get("param"));
    }
}
